Package-level declarations
Types
This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.
This object contains information about a message that is being replied to, which may come from another chat or forum topic.
This object represents a message about a scheduled giveaway.
This object represents a service message about the completion of a giveaway without public winners.
This object represents a message about the completion of a giveaway with public winners.
This object describes a message that can be inaccessible to the bot. It can be one of
This object represents a message.
This object represents a service message about a change in auto-delete timer settings.
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
This object represents a unique message identifier.
This object describes the origin of a message. It can be one of
This object represents reaction changes on a message with anonymous reactions.
This object represents a change of a reaction on a message performed by a user.
This object contains information about a poll.
This object contains information about one answer option in a poll.
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
Represents a reaction added to a message along with the number of times it was added.
This object describes the type of a reaction. Currently, it can be one of
Describes reply parameters for the message that is being sent.
Describes why a request was unsuccessful.
Describes an inline message sent by a Web App on behalf of a user.
This object represents an incoming update. At most one of the optional parameters can be present in any given update.
This object represents a Telegram user or bot.
This object represent a user's profile pictures.
This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.
Describes the current status of a webhook.
This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.